package grape.composite.service.logresterror.po;

import grape.common.service.po.NormalBasePo;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 接口请求异常日志表
 * </p>
 *
 * @author yangwei
 * @since 2020-03-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("composite_log_rest_error")
public class LogRestError extends NormalBasePo<LogRestError> {

    private static final long serialVersionUID = 1L;

    /**
     * 用户ID,base_user表的主键
     */
    private String userId;

    /**
     * 请求id
     */
    private String requestId;

    /**
     * 请求的url
     */
    private String url;

    /**
     * 响应的状态码
     */
    private String httpStatus;

    /**
     * 响应头信息
     */
    private String headers;

    /**
     * 响应内容
     */
    private String content;

    /**
     * 备注
     */
    private String remark;


    @Override
    protected Serializable pkVal() {
        return null;
    }

}
